//加载模块
const mysql = require('mysql');


//创建连接对象
const conn = mysql.createConnection({
    host: 'localhost',
    user: 'root',
    port: '3306',
    password: 'root',
    dataless: 'zhezhe'
});

//连接mysql服务器
coon.connect();

//完成你的增删改查


//关闭连接
conn.end();